package com.jdrx.sw.sewage.beans.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "污泥分析", description = "污泥分析")
@Data
public class SludgeAnalysisPO {
	private Long id;
	
	@ApiModelProperty(value = "日期")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(iso = DateTimeFormat.ISO.DATE, pattern = "yyyy-MM-dd")
	private LocalDate date;
	
	@ApiModelProperty(value = "车牌号")
	private String vehicleLicense;
	
	@ApiModelProperty(value = "毛重")
	private Double grossWeight;
	
	@ApiModelProperty(value = "皮重")
	private Double tareWeight;
	
	@ApiModelProperty(value = "净重")
	private Double netWeight;
	
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME, pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createAt;
	
	private Long createBy;
	
	@ApiModelProperty(value = "删除标记：0-未删除，1-已删除")
	private Integer deleteFlag;
	
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME, pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime updateAt;
	
	private Long updateBy;
}